/**  
 * Project Name:jd-worker-server  
 * File Name:JdProductInfo.java  
 * Package Name:com.moxie.cloud.services.jdworker.dto  
 * Date:2016年6月17日上午10:51:42  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.jingdong.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**  
 * ClassName:JdProductInfo <br/>  
 * Function: TODO ADD FUNCTION. <br/>  
 * Reason:   TODO ADD REASON. <br/>  
 * Date:     2016年6月17日 上午10:51:42 <br/>  
 * @author   yuandong  
 * @version    
 * @since    JDK 1.6
 *
 * Modified by liyang on 20171019 接口升级
 * @see        
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class JdProductInfo {
	@JsonProperty("mapping_id")
	private String mappingId;
	@JsonProperty("trade_id")
	private String tradeId;
	private String name;   //商品名称
	@JsonProperty("product_id")
	private long productId;//商品id
	@JsonProperty("item_url")
	private String wareUrl;//商品链接
	@JsonProperty("item_pic")
	private String imgPath;//商品图片

	/**
	 * 20171019接口升级，增加字段 商品数量
	 */
	private Integer quantity;

	public String getMappingId() {
		return mappingId;
	}
	public void setMappingId(String mappingId) {
		this.mappingId = mappingId;
	}
	public String getTradeId() {
		return tradeId;
	}
	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getProductId() {
		return productId;
	}
	public void setProductId(long productId) {
		this.productId = productId;
	}
	public String getWareUrl() {
		return wareUrl;
	}
	public void setWareUrl(String wareUrl) {
		this.wareUrl = wareUrl;
	}
	public String getImgPath() {
		return imgPath;
	}
	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
}
  
